<?php

namespace App\Model\Aboot;

use Illuminate\Database\Eloquent\Model;

class Attribute extends Model
{
    protected $fillable = ['attr_name','attr_type','attr_option_values','type_id'];
    public $table = 'product_attributes';

    public function type()
    {
        return $this->belongsTo('App\Model\Admin\ProductType', 'type_id', 'id');
    }
}
